package com.cn.sys.main.service;

import java.util.List;
import java.util.Map;

import com.cn.sys.frame.service.BaseService;
import com.cn.sys.main.entity.SysRole;

public interface SysRoleService extends BaseService<SysRole, Long>{

	public List<Map<String, Object>> getRolesByUserId(String userId) throws Exception;
	
	public List<SysRole> getRoleListByUserId(String userId) throws Exception;
	
	public String getModuleAndFunByRoleId(String roleId) throws Exception;
	
	public boolean saveRoleModuleFun(Long roleId, String moduleIds, String funcIds) throws Exception;
}
